{% extends "base-user.html" %}
{% block title %}注册{% endblock %}

{% block body %}
    <div class="login-main">
        <header class="layui-elip">注册</header>
        <form class="layui-form" method="post" action="{{ url_for('user.register') }}">
            {{ form.csrf_token }}
            <div class="layui-input-inline">
                {{ form.account(class="layui-input",placeholder="姓名") }}
            </div>
            <div class="layui-input-inline">
                {{ form.password(class="layui-input",placeholder="密码") }}
            </div>
            <div class="layui-input-inline">
                {{ form.repeat_password(class="layui-input",placeholder="重复密码") }}
            </div>
            <div class="layui-input-inline">
                {{ form.phone(class="layui-input",placeholder="手机号") }}
            </div>
            <div class="layui-input-inline login-btn">
                {{ form.submit(class="layui-btn") }}
            </div>
        </form>

    </div>
{% endblock %}